/**
 * @数组简单的使用,显示的结果有误,看一下
 *
 * @author	 wangshikun <wangshikun2010@gmail.com>
 * @copyright	(c) 2012 wangshikun <wangshikun2010@gmail.com>
 * @license	http://www.opensource.org/licenses/mit-license.php The MIT License
 * @package	default
 * @subpackage	default
 */

#include <stdio.h>
#include <cs50.h>
#include <stdlib.h>

int main(int argc, char *argv[]) {
	int values[10];
	int index;

	values[0] = 197;
	values[2] = -100;
	values[5] = 350;
	values[3] = values[0] + values[5];
	values[0] = values[5] / 10;
	--values[2];

	for (index=0; index<10; index++) {
		printf("values[%i] = %i\n", index, values[index]);
	}

	return 0;
}
